package org.mspring.mlog.entity;

import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ToDo {

    private static final long serialVersionUID = 1165305903938660552L;


	private String toDoComent;

	private String commentStatus;
	
	public String getToDoComent() {
		return toDoComent;
	}

	public void setToDoComent(String toDoComent) {
		this.toDoComent = toDoComent;
	}
    /**
     * @return the commentStatus
     */
    public String getCommentStatus() {
        return commentStatus;
    }

    /**
     * @param commentStatus
     *            the commentStatus to set
     */
    public void setCommentStatus(String commentStatus) {
        this.commentStatus = commentStatus;
    }
    public static class CommentStatus {
        public static final String OPEN = "open"; // 公开显示
        public static final String CLOSE = "close"; // 不公开显示
        public static final List<String> COMMENT_STATUS = Arrays.asList(new String[] { OPEN, CLOSE });

        public static final Map<String, String> getCommentStatusMap() {
            Map<String, String> map = new HashMap<String, String>();
            map.put(OPEN, "开启");
            map.put(CLOSE, "关闭");
            return map;
        }
    }
}
